
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: class Resource</title>
</head><body bgcolor="#f0f0f8">
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Resource">class <strong>Resource</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>A&nbsp;class&nbsp;for&nbsp;interacting&nbsp;with&nbsp;a&nbsp;resource.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Resource-__init__"><strong>__init__</strong></a>(self)</dt></dl>

<dl><dt><a name="Resource-get"><strong>get</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves&nbsp;data&nbsp;about&nbsp;a&nbsp;single&nbsp;link&nbsp;if&nbsp;the&nbsp;requesting&nbsp;advertiser/publisher&nbsp;has&nbsp;access&nbsp;to&nbsp;it.&nbsp;Advertisers&nbsp;can&nbsp;look&nbsp;up&nbsp;their&nbsp;own&nbsp;links.&nbsp;Publishers&nbsp;can&nbsp;look&nbsp;up&nbsp;visible&nbsp;links&nbsp;or&nbsp;links&nbsp;belonging&nbsp;to&nbsp;advertisers&nbsp;they&nbsp;are&nbsp;in&nbsp;a&nbsp;relationship&nbsp;with.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;pp:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;trace:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;roleId:&nbsp;string,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;requesting&nbsp;advertiser&nbsp;or&nbsp;publisher.&nbsp;(required)<br>
&nbsp;&nbsp;strict:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;role:&nbsp;string,&nbsp;The&nbsp;role&nbsp;of&nbsp;the&nbsp;requester.&nbsp;Valid&nbsp;values:&nbsp;'advertisers'&nbsp;or&nbsp;'publishers'.&nbsp;(required)<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;advertisers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;an&nbsp;advertiser.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publishers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;a&nbsp;publisher.<br>
&nbsp;&nbsp;linkId:&nbsp;string,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;link&nbsp;to&nbsp;look&nbsp;up.&nbsp;(required)<br>
&nbsp;&nbsp;userip:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;#&nbsp;A&nbsp;LinkResource.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"startDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"gan#link",&nbsp;#&nbsp;The&nbsp;kind&nbsp;for&nbsp;one&nbsp;entity.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"endDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;inactive.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"name":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;logical&nbsp;name&nbsp;for&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"createDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;was&nbsp;created.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"imageAltText":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;image&nbsp;alt&nbsp;text.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"advertiserId":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;advertiser&nbsp;id&nbsp;for&nbsp;the&nbsp;advertiser&nbsp;who&nbsp;owns&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creativeType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Creative&nbsp;Type.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"promotionType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Promotion&nbsp;Type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"duration":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Duration<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"authorship":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Authorship<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"availability":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Availability.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isActive":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Flag&nbsp;for&nbsp;if&nbsp;this&nbsp;link&nbsp;is&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"destinationUrl":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;destination&nbsp;URL&nbsp;for&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;}</tt></dd></dl>

<dl><dt><a name="Resource-insert"><strong>insert</strong></a> = method(self, **kwargs)</dt><dd><tt>Inserts&nbsp;a&nbsp;new&nbsp;link.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;body:&nbsp;object,&nbsp;The&nbsp;request&nbsp;body.&nbsp;(required)<br>
&nbsp;&nbsp;&nbsp;&nbsp;The&nbsp;object&nbsp;takes&nbsp;the&nbsp;form&nbsp;of:<br>
&nbsp;<br>
{&nbsp;#&nbsp;A&nbsp;LinkResource.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"startDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"gan#link",&nbsp;#&nbsp;The&nbsp;kind&nbsp;for&nbsp;one&nbsp;entity.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"endDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;inactive.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"name":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;logical&nbsp;name&nbsp;for&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"createDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;was&nbsp;created.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"imageAltText":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;image&nbsp;alt&nbsp;text.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"advertiserId":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;advertiser&nbsp;id&nbsp;for&nbsp;the&nbsp;advertiser&nbsp;who&nbsp;owns&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"creativeType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Creative&nbsp;Type.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"promotionType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Promotion&nbsp;Type<br>
&nbsp;&nbsp;&nbsp;&nbsp;"duration":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Duration<br>
&nbsp;&nbsp;&nbsp;&nbsp;"authorship":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Authorship<br>
&nbsp;&nbsp;&nbsp;&nbsp;"availability":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Availability.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"isActive":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Flag&nbsp;for&nbsp;if&nbsp;this&nbsp;link&nbsp;is&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"destinationUrl":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;destination&nbsp;URL&nbsp;for&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;}<br>
&nbsp;<br>
&nbsp;&nbsp;pp:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;trace:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;roleId:&nbsp;string,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;requesting&nbsp;advertiser&nbsp;or&nbsp;publisher.&nbsp;(required)<br>
&nbsp;&nbsp;strict:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;role:&nbsp;string,&nbsp;The&nbsp;role&nbsp;of&nbsp;the&nbsp;requester.&nbsp;Valid&nbsp;values:&nbsp;'advertisers'&nbsp;or&nbsp;'publishers'.&nbsp;(required)<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;advertisers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;an&nbsp;advertiser.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publishers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;a&nbsp;publisher.<br>
&nbsp;&nbsp;userip:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;#&nbsp;A&nbsp;LinkResource.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"startDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"gan#link",&nbsp;#&nbsp;The&nbsp;kind&nbsp;for&nbsp;one&nbsp;entity.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"endDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;inactive.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"name":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;logical&nbsp;name&nbsp;for&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"createDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;was&nbsp;created.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"imageAltText":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;image&nbsp;alt&nbsp;text.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"advertiserId":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;advertiser&nbsp;id&nbsp;for&nbsp;the&nbsp;advertiser&nbsp;who&nbsp;owns&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creativeType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Creative&nbsp;Type.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"promotionType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Promotion&nbsp;Type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"duration":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Duration<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"authorship":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Authorship<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"availability":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Availability.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isActive":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Flag&nbsp;for&nbsp;if&nbsp;this&nbsp;link&nbsp;is&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"destinationUrl":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;destination&nbsp;URL&nbsp;for&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;}</tt></dd></dl>

<dl><dt><a name="Resource-list"><strong>list</strong></a> = method(self, **kwargs)</dt><dd><tt>Retrieves&nbsp;all&nbsp;links&nbsp;that&nbsp;match&nbsp;the&nbsp;query&nbsp;parameters.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;linkType:&nbsp;string,&nbsp;The&nbsp;type&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;banner&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;text&nbsp;-&nbsp;<br>
&nbsp;&nbsp;promotionType:&nbsp;string,&nbsp;The&nbsp;promotion&nbsp;type.&nbsp;(repeated)<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buy_get&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coupon&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free_gift&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free_gift_wrap&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;free_shipping&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;none&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ongoing&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;percent_off&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;price_cut&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product_promotion&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sale&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sweepstakes&nbsp;-&nbsp;<br>
&nbsp;&nbsp;advertiserId:&nbsp;string,&nbsp;Limits&nbsp;the&nbsp;resulting&nbsp;links&nbsp;to&nbsp;the&nbsp;ones&nbsp;belonging&nbsp;to&nbsp;the&nbsp;listed&nbsp;advertisers.&nbsp;(repeated)<br>
&nbsp;&nbsp;pp:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;trace:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;strict:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;&nbsp;roleId:&nbsp;string,&nbsp;The&nbsp;ID&nbsp;of&nbsp;the&nbsp;requesting&nbsp;advertiser&nbsp;or&nbsp;publisher.&nbsp;(required)<br>
&nbsp;&nbsp;pageToken:&nbsp;string,&nbsp;The&nbsp;value&nbsp;of&nbsp;'nextPageToken'&nbsp;from&nbsp;the&nbsp;previous&nbsp;page.&nbsp;Optional.<br>
&nbsp;&nbsp;role:&nbsp;string,&nbsp;The&nbsp;role&nbsp;of&nbsp;the&nbsp;requester.&nbsp;Valid&nbsp;values:&nbsp;'advertisers'&nbsp;or&nbsp;'publishers'.&nbsp;(required)<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;advertisers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;an&nbsp;advertiser.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publishers&nbsp;-&nbsp;The&nbsp;requester&nbsp;is&nbsp;requesting&nbsp;as&nbsp;a&nbsp;publisher.<br>
&nbsp;&nbsp;relationshipStatus:&nbsp;string,&nbsp;The&nbsp;status&nbsp;of&nbsp;the&nbsp;relationship.<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;approved&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;available&nbsp;-&nbsp;<br>
&nbsp;&nbsp;maxResults:&nbsp;integer,&nbsp;Max&nbsp;number&nbsp;of&nbsp;items&nbsp;to&nbsp;return&nbsp;in&nbsp;this&nbsp;page.&nbsp;Optional.&nbsp;Defaults&nbsp;to&nbsp;20.<br>
&nbsp;&nbsp;advertiserCategory:&nbsp;string,&nbsp;The&nbsp;advertiser's&nbsp;primary&nbsp;vertical.&nbsp;(repeated)<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;apparel_accessories&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;appliances_electronics&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auto_dealer&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;automotive&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;babies_kids&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;blogs_personal_sites&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;books_magazines&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;computers&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dating&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;department_stores&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;education&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;employment&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;financial_credit_cards&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;financial_other&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;flowers_gifts&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;grocery&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;health_beauty&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;home_garden&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;hosting_domain&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;internet_providers&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;legal&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;media_entertainment&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;medical&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;movies_games&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;music&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nonprofit&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;office_supplies&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;online_games&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outdoor&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pets&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;real_estate&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;restaurants&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sport_fitness&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;telecom&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ticketing&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;toys_hobbies&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;travel&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;utilities&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wholesale_relationship&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wine_spirits&nbsp;-&nbsp;<br>
&nbsp;&nbsp;authorship:&nbsp;string,&nbsp;The&nbsp;role&nbsp;of&nbsp;the&nbsp;author&nbsp;of&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;Allowed&nbsp;values<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;advertiser&nbsp;-&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher&nbsp;-&nbsp;<br>
&nbsp;&nbsp;startDateMin:&nbsp;string,&nbsp;The&nbsp;beginning&nbsp;of&nbsp;the&nbsp;start&nbsp;date&nbsp;range.<br>
&nbsp;&nbsp;assetSize:&nbsp;string,&nbsp;The&nbsp;size&nbsp;of&nbsp;the&nbsp;given&nbsp;asset.&nbsp;(repeated)<br>
&nbsp;&nbsp;startDateMax:&nbsp;string,&nbsp;The&nbsp;end&nbsp;of&nbsp;the&nbsp;start&nbsp;date&nbsp;range.<br>
&nbsp;&nbsp;userip:&nbsp;string,&nbsp;A&nbsp;parameter<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;An&nbsp;object&nbsp;of&nbsp;the&nbsp;form<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;"nextPageToken":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;next&nbsp;page&nbsp;token.<br>
&nbsp;&nbsp;&nbsp;&nbsp;"items":&nbsp;[&nbsp;#&nbsp;The&nbsp;links.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;#&nbsp;A&nbsp;LinkResource.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"startDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"gan#link",&nbsp;#&nbsp;The&nbsp;kind&nbsp;for&nbsp;one&nbsp;entity.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"endDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;becomes&nbsp;inactive.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"description":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Description.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"name":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;logical&nbsp;name&nbsp;for&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"createDate":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Date&nbsp;that&nbsp;this&nbsp;link&nbsp;was&nbsp;created.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"imageAltText":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;image&nbsp;alt&nbsp;text.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"id":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;ID&nbsp;of&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"advertiserId":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;advertiser&nbsp;id&nbsp;for&nbsp;the&nbsp;advertiser&nbsp;who&nbsp;owns&nbsp;this&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"creativeType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Creative&nbsp;Type.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"promotionType":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Promotion&nbsp;Type<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"duration":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Duration<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"authorship":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Authorship<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"availability":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;Availability.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"isActive":&nbsp;True&nbsp;or&nbsp;False,&nbsp;#&nbsp;Flag&nbsp;for&nbsp;if&nbsp;this&nbsp;link&nbsp;is&nbsp;active.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"destinationUrl":&nbsp;"A&nbsp;String",&nbsp;#&nbsp;The&nbsp;destination&nbsp;URL&nbsp;for&nbsp;the&nbsp;link.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;},<br>
&nbsp;&nbsp;&nbsp;&nbsp;],<br>
&nbsp;&nbsp;&nbsp;&nbsp;"kind":&nbsp;"gan#links",&nbsp;#&nbsp;The&nbsp;kind&nbsp;for&nbsp;a&nbsp;page&nbsp;of&nbsp;links.<br>
&nbsp;&nbsp;}</tt></dd></dl>

<dl><dt><a name="Resource-list_next"><strong>list_next</strong></a> = methodNext(self, previous_request, previous_response)</dt><dd><tt>Retrieves&nbsp;the&nbsp;next&nbsp;page&nbsp;of&nbsp;results.<br>
&nbsp;<br>
Args:<br>
&nbsp;&nbsp;previous_request:&nbsp;The&nbsp;request&nbsp;for&nbsp;the&nbsp;previous&nbsp;page.<br>
&nbsp;&nbsp;previous_response:&nbsp;The&nbsp;response&nbsp;from&nbsp;the&nbsp;request&nbsp;for&nbsp;the&nbsp;previous&nbsp;page.<br>
&nbsp;<br>
Returns:<br>
&nbsp;&nbsp;A&nbsp;request&nbsp;object&nbsp;that&nbsp;you&nbsp;can&nbsp;call&nbsp;'execute()'&nbsp;on&nbsp;to&nbsp;request&nbsp;the&nbsp;next<br>
&nbsp;&nbsp;page.&nbsp;Returns&nbsp;None&nbsp;if&nbsp;there&nbsp;are&nbsp;no&nbsp;more&nbsp;items&nbsp;in&nbsp;the&nbsp;collection.</tt></dd></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table>
</body></html>